Q3BoundingSphere_Union
You can use theQ3BoundingSphere_Union
function to find the union of two bounding spheres.
TQ3BoundingSphere *Q3BoundingSphere_Union ( const TQ3BoundingSphere *s1, const TQ3BoundingSphere *s2, TQ3BoundingSphere *result);
s1
- A pointer to a bounding sphere.
s2
- A pointer to a bounding sphere.
result
- On exit, a pointer to the union of the bounding spheres
s1
ands2
.DESCRIPTION
TheQ3BoundingSphere_Union
function returns, as its function result and in theresult
parameter, a pointer to the bounding sphere that is the union of the two bounding spheres specified by the parameterss1
ands2
. Theresult
parameter can point to the memory occupied by eithers1
ors2
, thereby performing the union operation in place.